package com.example.order.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.example.utils.order.OrderCourse;
@FeignClient(name = "service-edu")
@Component
public interface CourseVoClient {
	
    @GetMapping(value = "/edu/getOrderCourse/{courseId}")
    public OrderCourse getOrderCourse(@PathVariable("courseId") String courseId);

}
